Ip address and domain name automation of virtual infrastructure

ABSTRACT

Provisioning an Internet Protocol address is disclosed. A request to provision an Internet Protocol address to a virtual resource is received. An Internet Protocol address is automatically determined to allocate to the virtual resource. An Internet Protocol Address Management appliance is used to automatically allocate the determined Internet Protocol address to the virtual resource.

CROSS REFERENCE TO OTHER APPLICATIONS

This application is a continuation of co-pending U.S. patent application Ser. No. 13/434,527, entitled IP ADDRESS AND DOMAIN NAME AUTOMATION OF VIRTUAL INFRASTRUCTURE filed Mar. 29, 2012 which is incorporated herein by reference for all purposes.

BACKGROUND OF THE INVENTION

With advances in cloud computing and virtualization, a system administrator is able to easily add or remove a virtual resource, such as a virtual machine, device or network, as needed to dynamically match computing needs. Because virtualization allows a single physical machine to host a large number of virtual resources, it is not uncommon for a single organization to utilize hundreds of virtual machines. The management of these virtual resources has been traditionally difficult. Traditionally, allocation of network parameters such as an Internet Protocol (IP) address or a Domain Name System (DNS) registration required a network engineer to manually look up available network parameters and assign an available parameter to a requestor. This manual process could potentially take days. Especially in a virtual cloud environment where a large number of virtual resources needs to be dynamically created and destroyed on a relatively short time frame, manually assigning IP addresses or manually performing DNS registration updates would be extremely inefficient and prone to errors. Therefore, there exists a need for a better way to manage network parameters of a virtual resource.

BRIEF DESCRIPTION OF THE DRAWINGS

Various embodiments of the invention are disclosed in the following detailed description and the accompanying drawings.

FIG. 1 is a block diagram illustrating an embodiment of a virtual cloud environment.

FIG. 2 is a block diagram illustrating an embodiment of a communication interface between an IPAM appliance and a virtual cloud.

FIG. 3 is a flowchart illustrating an embodiment of a process for collecting infrastructure metadata information.

FIG. 4 is a diagram illustrating an example of a graphical interface displaying infrastructure metadata information in a graphical format.

FIG. 5 is a diagram illustrating an example of a graphical interface displaying infrastructure metadata information organized in a hierarchical folder format.

FIG. 6 is a diagram illustrating an example of a graphical interface displaying infrastructure metadata information associated with a virtual resource.

FIG. 7 is a diagram illustrating an example of a graphical interface displaying extensible attributes associated with a virtual resource.

FIG. 8 is a flowchart illustrating an embodiment of a process for automatically provisioning a virtual resource with an IP address.

FIG. 9 is a flowchart illustrating an embodiment of a process for registering a virtual resource with a DNS.

FIG. 10 is a flowchart illustrating an embodiment of a process for removing a virtual resource.

FIG. 11 is a diagram illustrating an example user interface to control and configure workflows to manage a virtual cloud environment.

DETAILED DESCRIPTION

The invention can be implemented in numerous ways, including as a process; an apparatus; a system; a composition of matter; a computer program product embodied on a computer readable storage medium; and/or a processor, such as a processor configured to execute instructions stored on and/or provided by a memory coupled to the processor. In this specification, these implementations, or any other form that the invention may take, may be referred to as techniques. In general, the order of the steps of disclosed processes may be altered within the scope of the invention. Unless stated otherwise, a component such as a processor or a memory described as being configured to perform a task may be implemented as a general component that is temporarily configured to perform the task at a given time or a specific component that is manufactured to perform the task. As used herein, the term ‘processor’ refers to one or more devices, circuits, and/or processing cores configured to process data, such as computer program instructions.

A detailed description of one or more embodiments of the invention is provided below along with accompanying figures that illustrate the principles of the invention. The invention is described in connection with such embodiments, but the invention is not limited to any embodiment. The scope of the invention is limited only by the claims and the invention encompasses numerous alternatives, modifications and equivalents. Numerous specific details are set forth in the following description in order to provide a thorough understanding of the invention. These details are provided for the purpose of example and the invention may be practiced according to the claims without some or all of these specific details. For the purpose of clarity, technical material that is known in the technical fields related to the invention has not been described in detail so that the invention is not unnecessarily obscured.

Automatically and programmatically provisioning an IP address and performing a DNS registration for a virtual resource (e.g., a virtual machine, a virtual entity, a virtual device, a virtual network, a virtual switch, a virtual host adaptor, a virtual appliance, or any other element of a virtual cloud) is disclosed. In some embodiments, an Internet Protocol address management (IPAM) appliance manages Internet Protocol (IP) addresses of one or more virtual resources in a virtual cloud environment in addition to managing IP addresses for physical servers and devices. For example, by communicating with the IPAM appliance, an IP address can be automatically obtained, updated, or released for a virtual resource. In some embodiments, DNS registration is automatically managed for one or more virtual resources. For example, a DNS record is automatically updated for a virtual resource, as required.

In an example virtual cloud environment with virtual machines being dynamically created and destroyed, it is desirable to be able to dynamically obtain information about existing virtual machines in the virtual cloud environment to more efficiently manage them. In some embodiments, virtual infrastructure cloud metadata information is collected from the virtual cloud environment. The collected metadata information may be organized and/or outputted (e.g., on a display of a user). For example, the collected metadata information includes identity, location, and attribute information about one or more virtual resources (e.g., a virtual machine, a virtual entity, a virtual device, a virtual network, a virtual switch, a virtual host adaptor, a virtual appliance, or any other element of a virtual cloud) in a virtual cloud environment. In some embodiments, the collected metadata information is organized into hierarchical groupings (e.g., hierarchical folders containing collected metadata information). In some embodiments, the collected metadata information is stored in a storage that includes infrastructure metadata information about both virtual resources and physical resources.

FIG. 1 is a block diagram illustrating an embodiment of a virtual cloud environment. Virtual cloud 100 is a part of a virtual computing cloud environment and provides virtualized computing services (e.g., providing virtualized computing and networking resources, software, and/or information via a network). In the example shown, virtual cloud 100 includes physical servers 104, 106, and 108 that are interconnected by a network. Servers 104, 106, and 108 execute hypervisor (e.g., a virtual machine manager) 110, 112, and 114, respectively. The hypervisor allows the server to host multiple virtual resources, such as virtual machines. In the example shown, hypervisor 110 running on physical server 104 allows virtual machines 120, 122, and 124 and virtual switch 128 to be hosted on physical server 104. The hypervisor also provides a virtual operating platform that allows different operating system instances and types to run on the physical server hardware. Each virtual machine shown in FIG. 1 is executing a separate instance of an operating system with individual configurations. Examples of hypervisor 110, 112, and 114 include VMware ESX/ESXi™ server and VMware vSphere™ offered by VMware, Inc. of Palo Alto, Calif. Other virtual resources may also be a part of virtual cloud 100, including other virtual switches, virtual host adaptors, virtual appliances, and any other virtual or physical network components, appliances, and devices. The items shown inside virtual cloud 100 are merely examples of any number of same or different types of component may comprise virtual cloud 100.

Internet Protocol Address Management (IPAM) appliance 102 is connected to virtual cloud 100 via a network. An example of IPAM appliance 102 includes an IPAM appliance offered by Infoblox, Inc. of Santa Clara, Calif. IPAM appliance 102 interfaces with cloud 100 to manage one or more resources of virtual cloud 100. For example, IPAM appliance 102 manages the IP addresses and DNS registrations of one or more resources included in virtual cloud 100. In another example, IPAM appliance 102 stores and manages infrastructure metadata information about one or more resources included in cloud 100. For example, IPAM appliance 102 stores configuration, identification, networking, and/or statistical information about a virtual machine included in virtual cloud 100.

In some embodiments, IPAM appliance 102 is a virtual appliance implemented on one or more virtual machines and/or one or more servers included in virtual cloud 100 or a different virtual cloud. In some embodiments, IPAM appliance 100 is a physical server appliance connected to virtual cloud 100 via a network. Examples of the networks discussed in this specification may include one or more of the following: a direct or indirect physical communication connection, mobile communication network, Internet, intranet, Local Area Network, Wide Area Network, Storage Area Network, and any other forms of connecting two or more systems or storage devices together.

FIG. 2 is a block diagram illustrating an embodiment of a communication interface between an IPAM appliance and a virtual cloud. In some embodiments, virtual cloud 200 includes virtual cloud 100 of FIG. 1. Infrastructure manager 230 manages at least hypervisors 210 and 212 that each host one or more virtual machines (e.g., virtual machine 220). An example of an infrastructure manager is vCenter™ Server offered by VMware, Inc. Infrastructure manager 230 also manages virtualized hardware resources (e.g., memory, processors, etc.) of physical servers 204 and 206 that can be shared and allocated to any of the virtual resources hosted by the servers. In some embodiments, infrastructure manager 230 includes and/or is in communication with global cloud manager 240 that manages the applications and/or services provided by virtual cloud 200. Global cloud manager 240 also may manage multiple hypervisors and/or groups of hypervisors. An example of global cloud manager 240 includes vCloud™ Director offered by VMware, Inc.

Global cloud manager interface application 250 interfaces with global cloud manager 240 and can be used to manage virtual cloud 200. For example, a network administrator can use global cloud manager interface application 250 to customize the virtual environment and virtual resources of virtual cloud 100. In some embodiments, global cloud manager interface application 250 communicates with global cloud manager 240 through a standard protocol such as Advanced Message Queuing Protocol (AMQP). In some embodiments, Internet Protocol Address Management plug-in (IPAM plug-in) 252 installed on global cloud manager interface application 250 allows services of IPAM appliance 202 (e.g., management of IP addresses and DNS registration for virtual resources) to be utilized by global cloud manager 240. In some embodiments, IPAM plug-in 252 enables IPAM appliance 202 to interface with global cloud manager interface application 250 through a web service or application programming interface (API).

In some embodiments, IPAM agent 254 is connected with and/or included in global cloud manager 240 and listens to messages communicated to and from global cloud manager 240 to detect information to be passed to IPAM appliance 202. This allows IPAM appliance 202 to interface with global cloud manager 240. In some embodiments, a stand-alone interface application interfaces between global cloud manager interface application 250 and IPAM appliance 202. An example of IPAM appliance 202 includes an IPAM appliance offered by Infoblox, Inc.

In some embodiments, global cloud manager interface application 250 allows a workflow to be defined and/or at least in part processed. The workflow programmatically defines a series of one or more actions to be performed to manage virtual cloud 200. A predefined workflow may be used perform a task that otherwise would require a set of repetitive component actions to be directly used. For example, a network administrator may select a workflow in global cloud manager interface application 250 and execute the workflow that instructs global cloud manager 240 to create a new virtual machine in virtual cloud 200 and automatically obtain an IP address for the new virtual machine using IPAM appliance 202. A workflow may include the use of one or more other workflows, and a plurality of workflows may be used together to accomplish a desired task.

In some embodiments, IPAM plug-in 252 is installed into global cloud manager interface application 250 and provides one or more workflows and/or workflow action components that can be used to define a workflow. These workflows and workflow components may allow IPAM appliance 202 to be used to manage one or more components/resources of virtual cloud 200. For example, IPAM plug-in 252 provides the capability to use a workflow that uses IPAM appliance 202 to automatically assign a determined IP address and perform a DNS registration using the assigned IP address for a virtual machine created in virtual cloud 200.

FIG. 3 is a flowchart illustrating an embodiment of a process for collecting infrastructure metadata information. At least a portion of the process of FIG. 3 may be performed by IPAM appliance 102 of FIG. 1 or 202 of FIG. 2. The infrastructure metadata information may include identifiers, attributes, and configurations associated with a virtual resource of a virtual cloud infrastructure. For example, the infrastructure metadata information includes one or more of the following: a fully qualified domain name, an IP address, a MAC address, an operating system metadata, a virtual data center metadata, an infrastructure manager metadata, a hypervisor metadata, a virtual entity metadata, a virtual cluster metadata, a virtual host metadata, a host server metadata, a virtual switch metadata, a virtual entity type metadata, an extensible attribute, a virtual resource container metadata, an organization metadata, a cloud metadata, a data center metadata, an external network metadata, and any other appropriate metadata. Metadata includes data about data/objects. For example, metadata includes an identifier and/or an attribute. A virtual resource of a virtual cloud, such as virtual cloud 200 of FIG. 2, is associated with a virtual fingerprint. The virtual fingerprint comprises infrastructure metadata information that identifies the virtual resource within a virtual cloud environment. For example, a virtual machine in a virtual cloud is associated with infrastructure metadata information that identifies the virtual machine, such as an IP address, a Media Access Control (MAC) address, an operating system, and a virtual entity name of the virtual machines, as well as identifiers for one or more of the following associated with the virtual machine: a virtual data center, an infrastructure manager, a hypervisor, virtual entity, a virtual cluster, a virtual host, a host server, a virtual switch, a virtual entity type, an extensible, a virtual resource container, an organization, a virtual cloud, a data center, and an external network.

At 310, infrastructure metadata information is collected. In some embodiments, the infrastructure metadata information is collected from a virtual cloud by an IPAM appliance. In some embodiments, infrastructure metadata information is collected at a periodic interval to determine any changes to the infrastructure metadata information. In some embodiments, the infrastructure metadata information is collected at least in part by using an API used to communicate with a virtual cloud. In some embodiments, infrastructure metadata information is dynamically collected as virtual resources of the cloud are dynamically altered. For example, the infrastructure metadata information is collected from a virtual cloud as an initial step before infrastructure metadata information is dynamically collected as virtual resources of the cloud are dynamically altered. In some embodiments, the information is collected using an event generated by a virtual infrastructure (e.g., collected from an AMQP Message).

In some embodiments the information is collected by crawling a virtual cloud to discover virtual resources and its associated infrastructure metadata information. In some embodiments, the metadata information is collected from various virtualization and/or networking tiers of a virtual cloud environment. For example, a first tier metadata information pertaining to a physical layer of the virtual resource (e.g., IP address, MAC address, host operating system) is collected from one or more hypervisors, a second tier metadata information associated with a virtual resource infrastructure tier is collected from an infrastructure manager that manages the virtual resource, and a third tier metadata information associated with a virtual cloud infrastructure tier is obtained from a global cloud manager that manages the infrastructure manager. In the example of a virtual cloud solution offered by VMware, Inc., a Fully Qualified Domain Name, an IP Address, and a MAC address are collected from a physical network tier, metadata associated with vCenter™, virtual Cluster, virtual Host Server, and virtual Switch is collected from a virtual resource infrastructure layer, and metadata associated with vCloud™, vOrganization, vDataCenter, vApp, and virtual machine is collected from the cloud infrastructure layer.

In some embodiments, infrastructure metadata information is collected from a physical network tier associated with hypervisors or physical servers (e.g., server 204, server 206, hypervisor 210, hypervisor 212 of FIG. 2). Information, such as a fully qualified domain name, an IP address and a MAC address, about a virtual resource is collected from the physical network tier. In some embodiments, virtual resource infrastructure tier metadata information is obtained from an infrastructure manager (e.g., infrastructure manager 230 of FIG. 2). A virtual cloud can include several infrastructure managers that each manages one or more hypervisors in the virtual resource infrastructure tier. For example, an infrastructure manager identifier, a cluster identifier, a host server identifier, and a virtual switch identifier are collected from the infrastructure manager. In some embodiments, virtual cloud infrastructure tier metadata information is obtained from a global cloud manager (e.g., global cloud manager 240 of FIG. 2). For example, a cloud identifier, an organization identifier, a data center identifier, and an external network identifier, are collected from the global cloud manager.

In some cases, crawling the cloud to obtain infrastructure metadata information may not be possible or efficient in determining changes to the infrastructure metadata information. In some embodiments, the infrastructure metadata information is collected dynamically as an attribute of a virtual cloud is modified. For example, infrastructure metadata information is collected as a virtual resource of the virtual cloud is created, destroyed, or modified. In some embodiments, an agent in communication with a global cloud manager may detect changes to infrastructure metadata information as an instance of a virtual resource is created, destroyed, or modified. Additionally, when a virtual resource is created, destroyed or modified, an IPAM appliance may be utilized to manage a network attribute (e.g., automatically allocate, de-allocate, modify an IP address) of the virtual resource. This places the IPAM appliance in an opportune position to detect, collect, determine, organize and otherwise process infrastructure metadata information as the virtual resource is created, destroyed or modified. In some embodiments, IPAM plug-in (e.g., IPAM plug-in 252 of FIG. 2) allows the IPAM appliance to communicate with a virtual cloud and provides the IPAM appliance with infrastructure metadata information. In some embodiments, the infrastructure metadata information is collected when a service is provided by an IPAM appliance (e.g., IPAM appliance 202 of FIG. 2) to the virtual cloud. For example, infrastructure metadata information about a virtual resource is collected when the IPAM appliance is used to provision an IP address for the virtual resource.

At 312, the collected infrastructure metadata information is used to update a database of the metadata information. In some embodiments, the collected metadata information is received and used to update the database of infrastructure metadata information. In some embodiments, an IPAM appliance manages the database of infrastructure metadata information. For example, an IPAM appliance includes the database and/or is connected to the database. The database may include information associated with virtual resources as well as physical resources. For example, the database includes a database entry for each virtual resource in a virtual cloud as well as entries for physical resources managed by an IPAM appliance (e.g., physical clients and servers that have their IP addresses managed by the IPAM appliance).

Collected infrastructure metadata information may be tied to an end point record in a database. End point records comprise records in the database about each virtual resource in a virtual cloud. In some embodiments, infrastructure metadata information may be used to organize a group of virtual machines under a virtual data center. The virtual data center is included in a group of virtual data centers organized under a single organization name. The database of infrastructure metadata may be organized, sorted, and/or searched as desired. In some embodiments, information included in the database of infrastructure metadata is displayed in a text, a chart, and/or a graphical form. In some embodiments, information included in the database of infrastructure metadata is used to generate a report.

FIG. 4 is a diagram illustrating an example of a graphical interface displaying infrastructure metadata information in a graphical format. In some embodiments, information displayed in FIG. 4 includes information collected in step 310 and/or stored in the database of step 312 of FIG. 3. In the example shown, diagram 400 includes boxes representing a range of IP address from 10.65.1.0-10.65.1.255. If a resource has been allocated one or more of the IP addresses in the range, the resource is represented by a colored box. In some embodiments, a first colored box indicates a virtual resource that has been allocated to a first corresponding IP address and a second colored box indicates a physical resource that has been allocated a second corresponding IP address, thereby allowing virtual machines to be displayed alongside the physical servers. In some embodiments, different colors or shaded patterns may represent different states and attributes of resources allocated to an IP address. Other indications of differences can be used including different borders, colors, fill patterns, etc. to indicate different types of resources, different states or different attributes of a virtual cloud. On the right side of the shown display, a legend defining the different indications and representations of boxes included in 400 is provided. In some embodiments, by hovering and/or selecting one of the boxes in 400, additional infrastructure metadata information associated with the resource represented by the box is displayed. On the bottom of the shown display, additional infrastructure metadata information associated with a resource indicated by a selected box of 400 is displayed. For example, discovered name 410 and MAC address 412 are provided. In some embodiments, the graphical interface of FIG. 4 is accessible via a web browser.

FIG. 5 is a diagram illustrating an example of a graphical interface displaying infrastructure metadata information organized in a hierarchical folder format. In some embodiments, the graphical interface of FIG. 5 is accessible via a web browser. In the example shown, graphical representation of infrastructure metadata information including cloud name, organization name, data center name, cluster name, virtual machine system name, and virtual resource container name is provided in hierarchical folders. Folder 514 represents a virtual cloud named “vCloud.” Sub folder 516 represents an organization/user named “SoheilOrg” utilizing the virtual cloud “vCloud.” Sub folder 518 represents a virtual data center named “SoheilOrgvDC” that is a part of “SoheilOrg.” Sub folder 520 represents a virtual machine named “VmSoheil” that is hosted by “SoheilOrgvDC.” Items 530 and 532 represent virtual resource container (e.g., VMware® vApp) instances running on “VmSoheil.” By selecting any of the folders and items discussed above, infrastructure metadata information associated with the selection is displayed. Other groupings or hierarchical organization of infrastructure metadata information may be displayed using folders. In some embodiments, folders are used to group and display the virtual resources grouped by switch-ports and/or virtual local area networks.

FIG. 6 is a diagram illustrating an example of a graphical interface displaying infrastructure metadata information associated with a virtual resource. In some embodiments, the graphical interface of FIG. 6 is accessible via a web browser. In the example shown, pop-up window 600 displays infrastructure metadata information of a selected virtual resource. The displayed infrastructure metadata information includes a type and build of the operating system, a MAC address, a last discovered time and/or date, a discovered name, a virtual datacenter name, a virtual cluster, a virtual entity name, a virtual entity type, and a virtual host.

FIG. 7 is a diagram illustrating an example of a graphical interface displaying extensible attributes associated with a virtual resource. In some embodiments, the graphical interface of FIG. 7 is accessible via a web browser. In the example shown, pop-up window 700 displays extensible attributes of a selected virtual resource. The extensible attributes are a group of metadata information related to a virtual resource. Extensible attributes include fields that can be used to define additional properties of a virtual resource that may be predefined and/or user defined. Information of the extensible attributes is not necessarily collected from a virtual cloud. For example, the name of an organization can be stored with an extensible attribute 716 named “vcd_vorg” that is assigned a value “SoheilOrg.” Extensible attribute 716 identifies the owner organization (e.g., company/user) of a virtual resource. By providing additional fields, extensible attributes further facilitate description and mapping of virtual resources to a unique and descriptive identity in the virtual cloud. One or more extensible attributes may be stored or associated with infrastructure metadata information of a virtual resource.

FIG. 8 is a flowchart illustrating an embodiment of a process for automatically provisioning a virtual resource with an IP address. At least a portion of the process of FIG. 8 may be implemented on IPAM appliance 102 of FIG. 1 and/or 202 of FIG. 2. In some embodiments, provisioning an IP address to a virtual resource includes reserving an IP address to prevent the IP address from being assigned to another resource. The IP address may be an IPv4 or IPv6 IP address. The process of FIG. 8 may be used to provision an IP address to a variety of virtual resources including a virtual machine, a virtual entity, a virtual device, a virtual network, a virtual switch, a virtual host adaptor, and a virtual appliance. In some embodiments, an IPAM appliance keeps track of the available IP addresses in the virtual cloud environment and determines available IP addresses to be provisioned to virtual resources. In some embodiments, infrastructure metadata collected in 310 of FIG. 3 is used to determine one or more available IP addresses.

At 810, a request is received to provision an IP address to a virtual resource. The request may include information identifying the virtual resource to be assigned an IP address. For example, the request includes a MAC address and/or a Fully Qualified Domain name (FQDN). In some embodiments, the request is received from a global cloud manager (e.g., global cloud manager 240 of FIG. 2) using an IPAM agent (e.g., IPAM agent 254 of FIG. 2). In some embodiments, the request is received due to a workflow defined and/or processed by a global cloud manager interface application. For example, due to the workflow, global cloud manager interface application 250 uses IPAM plug-in 252 to request an IP address from IPAM appliance 202 of FIG. 2. In some embodiments, the received request includes a request to provision an IP address in a provided range of IP addresses.

At 812, an IP address to allocate to the virtual resource is automatically determined. The determined IP address is an available IP address in a network. In some embodiments, IPAM appliance 202 in FIG. 2 automatically determines the IP address. In some embodiments, determining the IP address includes automatically determining an available IP address (e.g., first available IP address) using a record of assigned and/or available IP addresses of a network. The record of available IP addresses may be stored in a database of an IPAM appliance or elsewhere that is accessible by the IPAM appliance via a network or other communication connection. In some embodiments, determining the IP address includes determining an available IP address (e.g., first available IP address) from a provided range of IP addresses. For example, a starting address and an ending address are provided by the user to designate a range of IP addresses that can be automatically provisioned to a virtual resource. In some embodiments, the IP address is automatically determined due to a workflow defined and/or processed by a global cloud manager interface application. In some embodiments, the process of FIG. 2 is included in step 812. For example, the determined IP address is collected and used to update a database of infrastructure metadata associated with the virtual resource to be assigned the IP address.

At 814, the determined IP address is allocated to the virtual resource. In some embodiments, allocating the IP address includes assigning the IP address to the virtual resource and appropriately updating a record of available IP addresses. A database of infrastructure metadata information (e.g., host records) may also be updated to associate the virtual resource with the determined IP address. In some embodiments, allocating the IP address includes providing the IP address. For example, IPAM appliance 202 provides the IP address to global cloud manager interface application 250 using IPAM plug-in 252 or to global cloud manager 240 using IPAM agent 254 of FIG. 2. In some embodiments, the determined IP address is provided to a virtual machine before it is run to allow the virtual machine to utilize the IP address to identify the virtual machine. For example, an IPAM appliance sends a message to the global cloud manager to assign or inject the determined IP address to the virtual resource. In another example, the IPAM appliance sends a message with the determined IP Address to the global cloud manager interface application using the IPAM plug-in that sends another message to the global cloud manager to assign or inject the IP address into the virtual resource.

FIG. 9 is a flowchart illustrating an embodiment of a process for registering a virtual resource with a DNS. At least a portion of the process of FIG. 9 may be implemented on IPAM appliance 102 of FIG. 1 and/or 202 of FIG. 2. DNS is used to associate an IP address with a domain name. In some embodiments, the domain name is a FQDN that is unique in a network or virtual cloud environment. The process of FIG. 9 may be used to perform DNS registration for a variety of virtual resources including a virtual machine, a virtual switch, a virtual device, a virtual network, a virtual entity, a virtual host adaptor, and a virtual appliance. In some embodiments, an IPAM appliance keeps track of the available domain names in a virtual cloud environment and determines available domain names to be assigned to virtual resources. In some embodiments, infrastructure metadata collected in 310 of FIG. 3 is used to determine one or more available domain names.

At 910, a request is received to register a virtual resource with a DNS. In some embodiments, this request is received in conjunction with or is the same request as the request for an IP address received at 810 of FIG. 8. In some embodiments, the request includes a desired domain name, such as a FQDN. In some embodiments, the request is received from a global cloud manager (e.g., global cloud manager 240 of FIG. 2) using an IPAM agent (e.g., IPAM agent 254 of FIG. 2). In some embodiments, the request is received due to a workflow defined and/or processed by a global cloud manager interface application. For example, due to the workflow, global cloud manager interface application 250 uses IPAM plug-in 252 to request IPAM appliance 202 of FIG. 2 to register a virtual resource with a DNS. In some embodiments, the request includes an IP address of the virtual resource.

At 912, the virtual resource is automatically registered with the DNS. Registering with the DNS includes associating a domain name with the IP address of the virtual resource. In some embodiments, registering with the DNS includes creating or updating a DNS record of an IPAM appliance and/or a Domain Name Server to associate a domain name of the virtual resource with the IP address of the virtual resource. In some embodiments, registering with the DNS includes determining an available domain name and assigning the available domain to the virtual resource. In some embodiments, the virtual resource is automatically registered with the DNS when an available IP address for the virtual resource is determined at 812 of FIG. 8. In some embodiments, the virtual resource is automatically registered with the DNS due to a workflow defined and/or processed by a global cloud manager interface application. In some embodiments, the process of FIG. 2 is included in step 912. For example, a domain of the virtual resource is collected and used to update a database of infrastructure metadata associated with the virtual resource. In some embodiments, registering with the DNS includes appropriately updating a record of available domain names. A database of infrastructure metadata information (e.g., host records) may also be updated to associate the virtual resource with its domain name.

At 914, information associated with the registration of the virtual resource with the DNS is provided. In some embodiments, providing the associated information of the DNS registration includes providing information to update infrastructure metadata information. In some embodiments, providing the associated information of the DNS registration includes providing a confirmation if the DNS registration was successful and providing an error indication if the registration was not successful. In some embodiments, providing the associated information of the DNS registration includes providing the registered domain name of the virtual resource. For example, IPAM appliance 202 provides the domain name to global cloud manager interface application 250 using IPAM plug-in 252 or to global cloud manager 240 using IPAM agent 254 of FIG. 2. In some embodiments, the domain name is provided to a virtual machine before it is run to allow the virtual machine to utilize the domain name to identify the virtual machine.

FIG. 10 is a flowchart illustrating an embodiment of a process for removing a virtual resource. At least a portion of the process of FIG. 10 may be implemented on IPAM appliance 102 of FIG. 1 and/or 202 of FIG. 2. In some embodiments, removing a virtual resource includes deactivating a virtual resource from a virtual cloud environment and releasing one or more resources (e.g., IP address and domain name) of the virtual resource for use by others. In some embodiments, a user initiates removal of a virtual resource from global cloud manager interface application and the request is sent to an IPAM appliance to manage the removal of the virtual resource. In some embodiments, the virtual resource is removed by global cloud manager and a request is sent to the IPAM appliance that a virtual resource is being removed. Then the IPAM appliance receives the request and will accordingly execute steps to manage the removal of a virtual resource. The process of FIG. 10 may be used to remove a variety of virtual resources including a virtual machine, a virtual switch, a virtual entity, a virtual device, a virtual network, a virtual host adaptor, and a virtual appliance. In some embodiments, an IPAM appliance keeps track of resources used by the virtual resource to be removed. In some embodiments, infrastructure metadata collected in 310 of FIG. 3 is used to determine one or more resources to be released.

At 1010, a request is received to remove a virtual resource. The request may include information identifying the virtual resource to be removed. For example, the request includes an IP address, MAC address and/or a Fully Qualified Domain name (FQDN). In some embodiments, the request is received from a global cloud manager (e.g., global cloud manager 240 of FIG. 2) using an IPAM agent (e.g., IPAM agent 254 of FIG. 2). In some embodiments, the request is received due to a workflow defined and/or processed by a global cloud manager interface application. For example, due to the workflow, global cloud manager interface application 250 uses IPAM plug-in 252 to request IPAM appliance 202 of FIG. 2 to free an IP address and a domain name of the virtual resource to be removed.

At 1012, an IP address associated with the virtual resource is automatically released. Releasing the IP address associated with the virtual resource includes freeing the IP address of the virtual resource so that it is available to be assigned to another physical or virtual resource. In some embodiments, IPAM appliance 202 in FIG. 2 automatically releases the IP address. In some embodiments, releasing the IP address includes determining the IP address of the virtual resource using a record of assigned IP addresses of a network. In some embodiments, releasing the IP address includes removing, updating, and/or freeing an IP address record of the virtual resource to be removed. The IP address record may be stored in a database of an IPAM appliance or elsewhere that is accessible by the IPAM appliance via a network or other communication connection. In some embodiments, the IP address is automatically removed due to a workflow defined and/or processed by a global cloud manager interface application.

At 1014, DNS information for the virtual resource is automatically updated. In some embodiments, updating the DNS information includes disassociating the IP address of the virtual resource with the domain name of the virtual resource. In some embodiments, updating the DNS includes information removing or updating a DNS record of an IPAM appliance and/or a Domain Name Server to free the domain name of the virtual resource by disassociating the IP address with the domain name. For example, a message is sent to a Domain Name Server to remove or de-register the virtual resource from the DNS records. In some embodiments, the DNS information for the virtual resource is automatically updated due to a workflow defined and/or processed by a global cloud manager interface application.

At 1016, stored infrastructure metadata information about the virtual resource is automatically updated. In some embodiments, updating the infrastructure metadata information includes updating the database of 312 of FIG. 3. For example, at least a portion of infrastructure metadata information (e.g., IP address and domain name information) about the virtual resource is deleted and/or updated. In some embodiments, updating the stored infrastructure metadata information includes updating or deleting portions of information collected in 310 of FIG. 3. In some embodiments, updating the infrastructure metadata information includes updating a list of available IP addresses and/or domain names for a virtual cloud environment. In some embodiments, a workflow is used to automatically and programmatically manage allocation/management of IP address and DNS registration. The workflows allow grouping and combining of tasks to automate management of a virtual cloud environment. Workflows may be used to automate managing the virtual cloud environment.

In some embodiments, a global cloud manager interface application includes pre-defined and customizable workflows that provide a user friendly interface for managing a virtual cloud environment. In some embodiments, an IPAM plug-in (e.g., IPAM plug-in 252 of FIG. 2) provides IP address and DNS management functionality to the workflows and functions already included in a global cloud manager interface application. In some embodiments, the IPAM plug-in includes pre-determined workflows, such as workflows that perform the following functionality: reserve an IP address, reserve an IP address in a range, remove a virtual machine, create a VMware® vApp configured by an IPAM appliance, and destroy a VMware® vApp in IPAM appliance records. IPAM plug-in provides an interface with an IPAM appliance that provides these functions.

Actions are components that make up a workflow and represent individual sub-tasks executed to manage the virtual cloud environment. In some embodiments, actions are implemented as JavaScript™ segments that use an API provided by an IPAM plug-in to interface with an IPAM appliance. Examples of IPAM plug-in provided actions that can be used in an existing workflow or used to create a new workflow include the following: add virtual machine, add virtual machine in a range of IP addresses, connect to IPAM appliance, get next available IP address, get next available IP address from range, remove virtual machine, restart IPAM services, update virtual machine MAC address, validate IP address, add virtual machine to DNS, delete virtual machine to DNS, and update virtual machine to DNS. In some embodiments, in order for an IPAM appliance to connect with a global cloud manager interface application, the IPAM plug-in provides an action for connecting to an IPAM appliance. In some embodiments, connecting to an IPAM appliance includes providing a username and a password to authenticate the user's authorization to use or configure IPAM appliance services. In some embodiments, the IPAM plug-in provides actions to control the IPAM appliance from the global cloud manager interface application, including the ability to restart IPAM appliance services.

FIG. 11 is a diagram illustrating an example user interface to control and configure workflows to manage a virtual cloud environment. In some embodiments, the user interface shown in FIG. 11 is an example of a user interface of global cloud manager interface application (e.g., application 250 of FIG. 2) that interfaces with a global cloud manager. In the example shown, sidebar section 1110 shows a list of available workflows. Window 1130 shows a graphical representation of a workflow selected from section 1110. Workflows listed section 1110 includes additional workflows added by an installed IPAM plug-in. Selected workflow 1112 named “Create vApp with VM networks configured via IPAM” has been provided by the IPAM plug-in. Window 1130 shows a workflow in a flowchart graphical representation. Actions that make up workflows are shown as blocks in the flowchart representation. The arrows connecting the blocks represent flow of actions in the workflow. For example, “Instantiate a vApp” action 1114 represents the task of creating a VMware® vApp. “connectIpam” Action 1116 represents the task of connecting to an IPAM appliance and authenticating a user. Various combinations of action blocks and flow arrows can be combined using the shown graphical interface to programmatically define a workflow. A user may initiate execution of a workflow by selecting a desired workflow in section 1110 and clicking play button 1150.

Although the foregoing embodiments have been described in some detail for purposes of clarity of understanding, the invention is not limited to the details provided. There are many alternative ways of implementing the invention. The disclosed embodiments are illustrative and not restrictive. 

What is claimed is:
 1. A system for provisioning an Internet Protocol address, comprising: a communication interface configured to receive a request to provision an Internet Protocol address to a virtual resource; and a processor configured to automatically determine an Internet Protocol address to allocate to the virtual resource, automatically allocate the determined Internet Protocol address to the virtual resource, and automatically register the virtual resource with a Domain Name System using the determined Internet Protocol address, wherein automatically determining the Internet Protocol address includes selecting the determined Internet Protocol address among a group of Internet Protocol addresses potentially available to be assigned to the virtual resource of the received request, the system manages Internet Protocol address provisioning of both virtual resources and physical resources, and automatically registering the virtual resource with the Domain Name System includes registering the determined Internet Protocol address as being associated with a selected domain name;
 2. The system of claim 1, wherein the request is received due to a component action included in a group of component actions programmatically defined in a workflow.
 3. The system of claim 2, wherein the workflow is defined using an interface application that interfaces with a manager managing a virtual cloud that includes the virtual resource.
 4. The system of claim 2, wherein the workflow is at least in part defined by a user.
 5. The system of claim 1, wherein automatically registering the virtual resource with the Domain Name System includes determining which domain name is available to be assigned to the virtual resource among a group of eligible domain names.
 6. The system of claim 1, wherein automatically determining the Internet Protocol address includes determining an available Internet Protocol address in a database of available Internet Protocol addresses.
 7. The system of claim 1, wherein the processor is further configured to update a database of virtual cloud infrastructure metadata information using the determined Internet Protocol address.
 8. The system of claim 1, wherein the processor is further configured to automatically de-allocate the determined Internet Protocol address at least in part by updating a database of available Internet Protocol addresses.
 9. The system of claim 7, wherein the processor is further configured to automatically de-register the virtual resource with the Domain Name System.
 10. The system of claim 1, wherein using the Internet Protocol Address Management appliance to automatically allocate the determined Internet Protocol address includes updating a database of available Internet Protocol addresses.
 11. A system for registering with a Domain Name System, comprising: a communication interface configured to receive a request to register a virtual resource with a Domain Name System; and a processor configured to determine which domain names, if any, are available to be assigned to the virtual resource among a group of eligible domain names, select one of the determined to be available domain names as the selected domain name, automatically register the virtual resource with the Domain Name System at least in part by sending a registration request to a domain name server to register the selected domain name with the virtual resource, and provide information associated with the registration of the virtual resource with the Domain Name System; wherein the request is received due to a component action included in a group of component actions programmatically defined in a workflow;
 12. The system of claim 11, wherein automatically registering the virtual resource with the Domain Name System includes determining which domain name is available to be assigned to the virtual resource among a group of eligible domain names tracked by the system.
 13. The system of claim 1, wherein the processor is further configured to automatically de-register the virtual resource with the Domain Name System.
 14. A method of provisioning an Internet Protocol address, comprising: receiving a request to provision an Internet Protocol address to a virtual resource; automatically determining an Internet Protocol address to allocate to the virtual resource, wherein automatically determining the Internet Protocol address includes selecting the determined Internet Protocol address among a group of Internet Protocol addresses potentially available to be assigned to the virtual resource of the received request; using an Internet Protocol Address Management device to automatically allocate the determined Internet Protocol address to the virtual resource, wherein the Internet Protocol Address Management device manages Internet Protocol address provisioning of both virtual resources and physical resources; and automatically registering the virtual resource with a Domain Name System using the determined Internet Protocol address, wherein automatically registering the virtual resource with the Domain Name System includes registering the determined Internet Protocol address as being associated with a selected domain name.
 15. The method of claim 14, wherein the request is received due to a component action included in a group of component actions programmatically defined in a workflow.
 16. The method of claim 14, further comprising automatically de-allocating the determined Internet Protocol address at least in part by updating a database of available Internet Protocol addresses.
 17. The method of claim 16, further comprising automatically de-registering the virtual resource with the Domain Name System.
 18. A method of registering with a Domain Name System, comprising: receiving a request to register a virtual resource with a Domain Name System; determining which domain names, if any, are available to be assigned to the virtual resource among a group of eligible domain names; selecting one of the determined to be available domain names as the selected domain name; automatically registering the virtual resource with the Domain Name System at least in part by sending a registration request to a domain name server to register the selected domain name with the virtual resource; and providing information associated with the registration of the virtual resource with the Domain Name System.
 19. The method of claim 18, wherein automatically registering the virtual resource with the Domain Name System includes determining which domain name is available to be assigned to the virtual resource among a group of eligible domain names tracked by the system.
 20. The method of claim 18, wherein further comprising automatically de-registering the virtual resource with the Domain Name System. 